package cn.mymanagesys.service.impl;

import cn.mymanagesys.dao.SysPostDao;
import cn.mymanagesys.dao.impl.SysPostDaoImpl;
import cn.mymanagesys.entity.SysPost;
import cn.mymanagesys.service.SysPostService;

import java.util.List;

public class SysPostServiceImpl implements SysPostService {

    private SysPostDao sysPostDao = new SysPostDaoImpl();

    @Override
    public List<SysPost> list() {
        return sysPostDao.list();
    }
}
